<template>
  <section>
    <button @click="handleClick">测试</button>
  </section>
</template>

<script>
// import ajax from "@/util/request";

export default {
    methods: {
        handleClick() {
            this.$ajax("/resource/queryList",{
                    rows: 10
                }).then(res => {
                console.log(res);
            })
        }
    }
}
</script>

<style>

</style>